<html>
<head><meta charset="utf-8"><title>On the grammar RFC · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/On.20the.20grammar.20RFC.html">On the grammar RFC</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="241626419"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/On%20the%20grammar%20RFC/near/241626419" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/On.20the.20grammar.20RFC.html#241626419">(Jun 05 2021 at 09:25)</a>:</h4>
<p>So I remembered that we have <a href="https://github.com/rust-lang/rfcs/blob/master/text/1331-grammar-is-canonical.md">this</a> rfc which proposed use of <code>src/grammar</code> as a canonical grammar describing the rust syntax, but we ended up removing it because nobody was working on that code.</p>
<p>Should we just make that RFC obsolete, or perhaps would it make sense to import some other implementation of grammar? e.g. <a href="https://github.com/tree-sitter/tree-sitter-rust">treesitter one</a>?</p>



<a name="241626483"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/On%20the%20grammar%20RFC/near/241626483" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/On.20the.20grammar.20RFC.html#241626483">(Jun 05 2021 at 09:26)</a>:</h4>
<p>Unlike that other grammar we used to have which served little purpose, treesitter is used in actual editors, and its use is likely to only ever increase, so there's much more sense in keeping it up-to-date and accurate.</p>



<a name="241635320"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/On%20the%20grammar%20RFC/near/241635320" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Vadim Petrochenkov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/On.20the.20grammar.20RFC.html#241635320">(Jun 05 2021 at 12:57)</a>:</h4>
<p>cc @wg-grammar</p>



<a name="241635324"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/On%20the%20grammar%20RFC/near/241635324" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Vadim Petrochenkov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/On.20the.20grammar.20RFC.html#241635324">(Jun 05 2021 at 12:57)</a>:</h4>
<p>Ha, the group doesn't even exist on zulip.</p>



<a name="241635406"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/On%20the%20grammar%20RFC/near/241635406" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Vadim Petrochenkov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/On.20the.20grammar.20RFC.html#241635406">(Jun 05 2021 at 12:59)</a>:</h4>
<p><code>src/grammar</code> now exists as <a href="https://github.com/rust-lang/wg-grammar">https://github.com/rust-lang/wg-grammar</a> as a part of the Grammar working group.</p>



<a name="241635474"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/On%20the%20grammar%20RFC/near/241635474" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Vadim Petrochenkov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/On.20the.20grammar.20RFC.html#241635474">(Jun 05 2021 at 13:00)</a>:</h4>
<p>Except that the project is dead.</p>



<a name="241639335"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/On%20the%20grammar%20RFC/near/241639335" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/On.20the.20grammar.20RFC.html#241639335">(Jun 05 2021 at 14:28)</a>:</h4>
<p>oh yeah I totally forgot that thing was a thing ^^</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>